package aygx.redis.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author 暗影孤星
 * @date 2020/10/28 23:43
 * @explanation
 */
@ConfigurationProperties(prefix = "redis")
public class RedisProperties {

    private String host = "localhost";

    private Integer port =6379;

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }
}
